package com.huacx.model;


public class User {
    private Integer tId;

    private String username;

    private String passwd;

    private String addr;

    private String tel;

    private String gender;

    private String work;

    private String birthday;

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd == null ? null : passwd.trim();
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr == null ? null : addr.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work == null ? null : work.trim();
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

	@Override
	public String toString() {
		return "User [tId=" + tId + ", username=" + username + ", passwd=" + passwd + ", addr=" + addr
				+ ", tel=" + tel + ", gender=" + gender + ", work=" + work + ", birthday=" + birthday + "]";
	}

	public User(Integer tId, String username, String passwd, String addr, String tel, String gender,
			String work, String birthday) {
		super();
		this.tId = tId;
		this.username = username;
		this.passwd = passwd;
		this.addr = addr;
		this.tel = tel;
		this.gender = gender;
		this.work = work;
		this.birthday = birthday;
	}

	public User(String username, String passwd, String addr, String tel, String gender, String work,
			String birthday) {
		super();
		this.username = username;
		this.passwd = passwd;
		this.addr = addr;
		this.tel = tel;
		this.gender = gender;
		this.work = work;
		this.birthday = birthday;
	}

	public User(String username, String passwd,  String tel, String gender, String birthday) {
		super();
		this.username = username;
		this.passwd = passwd;
		this.tel = tel;
		this.gender = gender;
		this.birthday = birthday;
	}
    
    
}